home *** CD-ROM | disk | FTP | other *** search
-
-
-
- RRRRUUUUNNNNPPPPRRRRIIIIVVVV((((1111MMMM)))) RRRRUUUUNNNNPPPPRRRRIIIIVVVV((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- runpriv - run privileged commands
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////bbbbiiiinnnn////rrrruuuunnnnpppprrrriiiivvvv [ ----aaaauuuutttthhhh _a_u_t_h-_s_c_h_e_m_e ] _p_r_i_v_i_l_e_g_e ...
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _r_u_n_p_r_i_v checks to see if you have been granted _p_r_i_v_i_l_e_g_e, and if so it
- runs the command _p_r_i_v_i_l_e_g_e found in the directory /_u_s_r/_s_y_s_a_d_m/_p_r_i_v_b_i_n
- with the remaining arguments.
-
- _r_u_n_p_r_i_v succeeds if any one of following conditions are met:
-
- 1. You are running as root.
-
- 2. There is no root password on the system.
-
- 3. The file /_v_a_r/_s_y_s_a_d_m/_d_e_f_a_u_l_t_P_r_i_v_i_l_e_g_e_s/pppprrrriiiivvvviiiilllleeeeggggeeee exists and has the
- string "on" as its first line (see _d_e_f_a_u_l_t_P_r_i_v_i_l_e_g_e_s(4)).
-
- 4. There is an entry in the _p_r_i_v_i_l_e_g_e_d_U_s_e_r_s(4) database granting you
- all privileges.
-
- 5. There is an entry in the _p_r_i_v_i_l_e_g_e(4) database granting you the
- requested privilege, and you are not an NIS user.
-
- 6. The ----aaaauuuutttthhhh _a_u_t_h-_s_c_h_e_m_e arguments are provided, and you pass the
- authentication test. If _a_u_t_h-_s_c_h_e_m_e is uuuunnnniiiixxxx, then you must type the
- root password when prompted in order to pass.
-
- Checks 3, 4, and 5 will automatically fail if the pppprrrriiiivvvviiiilllleeeeggggeeeessss
- configuration file in /_e_t_c/_c_o_n_f_i_g is not oooonnnn (see _c_h_k_c_o_n_f_i_g(1M)).
-
- FFFFIIIILLLLEEEESSSS
- /usr/sysadm/privbin/* Privileged commands
- /usr/sysadm/authdso/* Authentication schemes
- /var/sysadm/privilege Privilege database
- /var/sysadm/privilegedUsers Privileged users database
- /var/sysadm/defaultPrivileges/* Default privileges
- /var/sysadm/privenviron Environment of privileged command
- /var/sysadm/home Home directory for privileged command
- /etc/config/privileges Privilege configuration flag
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- sysmgr(1M), checkpriv(1M), addpriv(1M), rmpriv(1M), adddefpriv(1m),
- rmdefpriv(1m), addprivuser(1M), rmprivuser(1M), chkconfig(1M),
- privilege(4), defaultPrivileges(4), privilegedUsers(4).
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-